package com.ysj.aipicturebe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysj.aipicturebe.model.dto.thumb.DoThumbRequest;
import com.ysj.aipicturebe.model.entity.Thumb;


import javax.servlet.http.HttpServletRequest;

;

/**
* @author ysj
* @description 针对表【thumb】的数据库操作Service
* @createDate 2025-05-06 14:18:39
*/
public interface ThumbService extends IService<Thumb> {
    Boolean doThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);

    Boolean undoThumb(DoThumbRequest doThumbRequest, HttpServletRequest request);

    Boolean hasThumb(Long blogId, Long userId);
}
